package com.tencent.user.service;

import com.tencent.user.domain.User;
import com.tencent.basic.service.IBaseService;
import com.tencent.user.dto.UserDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Rixyo
 * @since 2022-06-02
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 手机号注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);

    /**
     * 邮箱注册
     * @param userDto
     */
    void emailRegister(UserDto userDto);

    /**
     * 账号激活
     * @param id
     */
    void userActive(Long id);
}
